package ylg.cn.com.slidingmenudemo;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import ylg.cn.com.slidingmenudemo.exmaple.FirstActivity;
import ylg.cn.com.slidingmenudemo.exmaple.FourActivity;
import ylg.cn.com.slidingmenudemo.exmaple.SecondActivity;
import ylg.cn.com.slidingmenudemo.exmaple.ThirdActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

    }

    public void way1(View view) {
        startActivity(new Intent(this, FirstActivity.class));
    }

    public void way2(View view) {
        startActivity(new Intent(this, SecondActivity.class));
    }

    public void way3(View view) {
        startActivity(new Intent(this, ThirdActivity.class));
    }

    public void way4(View view) {
        startActivity(new Intent(this, FourActivity.class));
    }
}
